#include "key.h"
#include "led.h"
#include "usart1.h"

int main()
{
	  uint8_t buffer[32]={0};
		uint8_t size;
		led_init();
		key_init();
		USART_Init();
		USART_SendChar('A');
		USART_SendString((uint8_t *)"helloworld\r\n", 15);
	
		while(1)
		{	
			 USART_ReceiveString(buffer, &size);
			 USART_SendString(buffer, size);
			
		}
    return 0;
}